import Vue from 'vue'
import Vuex from 'vuex'
Vue.use(Vuex)

import login from '@/store/modules/login'
import globalPopup from '@/store/modules/global_popup'
import global from '@/store/modules/global'
import routerMap from '@/store/modules/router_map'

const store = new Vuex.Store({
  modules: {
    login,
    globalPopup,
    global,
    routerMap,
    namespaced: true
  }
})

export default store
